<div class="row" description="添加楼房">
    <!-- 表单的填写 -->
    <fieldset>
        <legend>
        <h1>
            <a href="javascript:history.back();"><i class="icon-arrow-left-3 fg-darker smaller"></i></a>
            {{TYPE}}楼房
        </h1>
        </legend>
        {{#each Forms}}
        <div class="span4">
            <label>{{label}}</label>
            {{#layout ('form-add-'+type),'$THIS'}} 
        </div>
        {{/each}}
    </fieldset>
    <button class="button large bg-darkCobalt fg-white" event-click="{{'Event.submit'}}">提交表单</button>
    
    <!-- 提交时弹出窗口 -->
    <buildingAddSubmit style="display:none" class="form-content">
        <p>{{#if TYPE=='添加'}}新的{{#else}}修改后的{{/if}}楼房信息表单数据：</p>
        <div>
            {{#each Forms}}
                {{label}}：{{value}}
                <br/>
            {{/each}}
        </div>
        <div class="progress-bar small" data-role="progress-bar" data-value="0" data-color="ribbed-cyan"></div>
        <div>
            <button class="button primary yes">确定提交</button>
            <button class="button no">取消</button>
        </div>
        <br>
    </buildingAddSubmit>
</div>
